import Vue from 'vue';
import VueRouter from 'vue-router';
import Xinche from '../views/Xinche.vue'
import Xinny from '../views/Xinny.vue'
import Find from '../views/Find.vue'
import Ershouche from '../views/Ershouche.vue'
import Me from '../views/Me.vue'
import Ok from '../views/Ok.vue'
import Hao from '../views/Hao.vue'
Vue.use(VueRouter);
export default new VueRouter({
    mode: 'history',
    routes:[{
        path:'/xinche',
        name:'xinche',
        component:Xinche,
        // children:[{
        //     path:'xny',
        //     component:Xny
        // }]
    },
    {
        path:'/xinny',
        name:"xinny",
        component:Xinny
    },
    {
        path:'/find',
        name:'find',
        component:Find
    },
    {
        path:'/ershouche',
        name:'ershouche',
        component:Ershouche
    },
    {
        path:'/me',
        name:'me',
        component:Me
    },
    {
        path:'/ok',
        name:'ok',
        component:Ok
    },
    {
        path:'/hao',
        name:'hao',
        component:Hao
    }
    ]
    })